Update pybind11 requirement from >=2.10.0 to >=3.0.3#348
Update pybind11 requirement from >=2.10.0 to >=3.0.3#348dependabot[bot] wants to merge 1 commit into
Conversation
🤖 Cursor Dependency AnalysisSupply-Chain Malware ReviewChecking how this repo declares the pybind11 dependency to ground the review. Verdict: benign Why this is not malware (concise):
Actionable follow-up: Merge is reasonable from a supply-chain perspective once the project diff is only the version constraint you expect and CI passes with Compatibility AnalysisSearching the repository for pybind11 usage and inspecting how it's declared and built. 1) Where
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 0da4501. Configure here.
| @@ -1,5 +1,5 @@ | |||
| [build-system] | |||
| requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.5.0", "pybind11>=2.10.0"] | |||
| requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.5.0", "pybind11>=3.0.3"] | |||
There was a problem hiding this comment.
CMake fallback fetches outdated pybind11 v2.13.6 version
Medium Severity
The pyproject.toml build requirement now mandates pybind11>=3.0.3, but src/CMakeLists.txt line 244 has a FetchContent_Declare fallback pinned to GIT_TAG v2.13.6. If CMake can't find the pip-installed pybind11 (e.g., in certain CI or from-source builds), the fallback fetches a 2.x version that's incompatible with the 3.x minimum. This version mismatch can lead to build failures or subtle ABI incompatibilities since pybind11 3.0 is a major version with breaking changes.
Reviewed by Cursor Bugbot for commit 0da4501. Configure here.
Updates the requirements on [pybind11](https://github.com/pybind/pybind11) to permit the latest version. - [Release notes](https://github.com/pybind/pybind11/releases) - [Changelog](https://github.com/pybind/pybind11/blob/master/docs/changelog.md) - [Commits](pybind/pybind11@v2.10.0...v3.0.3) --- updated-dependencies: - dependency-name: pybind11 dependency-version: 3.0.3 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
0da4501 to
b95bfad
Compare
|
Superseded by #353. |


Updates the requirements on pybind11 to permit the latest version.
Release notes
Sourced from pybind11's releases.
... (truncated)
Changelog
Sourced from pybind11's changelog.
... (truncated)
Commits
1b49908docs: add v3.0.3and v3.1.0changelog updates. (#6023)c066c76fix: add missing PYBIND11_ALWAYS_INLINE macro for v3.0.3 backports76efcb3Bump version from v3.0.2 → v3.0.30f41635chore(deps): bump pygments from 2.17.2 to 2.20.0 in /docs (#6024)54a4615chore(deps): bump requests from 2.32.4 to 2.33.0 in /docs (#6013)d12037cchore(deps): update pre-commit hooks (#6002)64eecc4chore(deps): bump the actions group with 3 updates (#6000)c0ea8fcFix heap-buffer-overflow inpythonbufwith undersized buffers (#6019)8d621d6fix: detect virtual inheritance in add_base to prevent pointer offset crash (...b6a616efix: strdup"self"arg indef_property_static, partially revert #6010 (gh...Note
Low Risk
Low risk dependency bump limited to build configuration, though it could surface new C++ extension build/ABI incompatibilities in CI or downstream builds.
Overview
Updates
pyproject.tomlbuild-system requirements to raise the minimumpybind11version from>=2.10.0to>=3.0.3, allowing builds to use the latestpybind11release.Reviewed by Cursor Bugbot for commit b95bfad. Bugbot is set up for automated code reviews on this repo. Configure here.